package com.rerun.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * The type Job tag.
 */
@TableName("job_tag")
public class JobTag extends Model<JobTag> {

  private static final long serialVersionUID = 6047149849745700557L;
  @TableId(type = IdType.UUID)
  private String id;
  private String tagName;


    /**
     * Gets id.
     *
     * @return the id
     */
    public String getId() {
    return id;
  }

    /**
     * Sets id.
     *
     * @param id the id
     */
    public void setId(String id) {
    this.id = id;
  }

    /**
     * Gets tag name.
     *
     * @return the tag name
     */
    public String getTagName() {
    return tagName;
  }

    /**
     * Sets tag name.
     *
     * @param tagName the tag name
     */
    public void setTagName(String tagName) {
    this.tagName = tagName;
  }

  @Override
  protected Serializable pkVal() {
    return this.id;
  }

  @Override
  public String toString() {
    return "{" +
            "id:" + id +
            ", tagName:" + tagName +
            '}';
  }
}
